package com.example.cstr.mapper;

import com.example.cstr.entity.File;
import org.apache.ibatis.annotations.Mapper;import java.util.List;

@Mapper
public interface FileMapper {
    int deleteByPrimaryKey(Integer fileId);

    int insert(File record);

    int insertSelective(File record);

    File selectByPrimaryKey(Integer fileId);

    int updateByPrimaryKeySelective(File record);

    int updateByPrimaryKey(File record);

    List<File> selectAllFile();

    List<File> selectFileInfoByscId(Integer scId);

    int removeMyFileByOrdName(String fileName);
}